package com.alks.function.service.procurement;

import com.alks.entity.data.response.ResponseInfo;
import com.alks.function.data.dto.procurement.PurchaseOrderDto;
import com.alks.function.data.request.procurement.*;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface MaterialClearanceService {
    ResponseInfo getLotNoList(LotNoRequest request);

    ResponseInfo getSummaryMaterialsList(LotNoRequest2 request);

    ResponseInfo getPurchaseOrderList(PurchaseOrderRequest request);

    ResponseInfo updatePurchaseOrder(List<PurchaseOrderDto> list);

    ResponseInfo makePurchaseOrder(LotNoRequest4 r);

    ResponseInfo getBatchProcess(List<LotNoRequest5> request);

    void exportPurchaseOrder(String purNo, HttpServletResponse response);

    void exportSziePurchaseOrder(String purNo, HttpServletResponse response);

    ResponseInfo getAllPurchaseOrderList(PurchaseOrderRequest request);

    ResponseInfo sendBack(LotNoRequest6 request);

    ResponseInfo backPurchaseOrder(LotNoRequest6 request);

    ResponseInfo cancelPurchaseOrder(LotNoRequest6 request);

    ResponseInfo cancelPurchaseOrderNumber(LotNoRequest7 request);

    ResponseInfo getAllLotNoList(String lotNo);

    ResponseInfo sendBackBatch(List<LotNoRequest6> request);

    ResponseInfo updatePurchaseOrder2(PurchaseOrderDto request);

    ResponseInfo updatePurchaseOrderBatch(PurchaseOrderRequest2 request);

//    ResponseInfo backPurchaseOrderBatch(List<LotNoRequest6> request);
}
